<!DOCTYPE html>
<html lang="en" xmlns:v-bind="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>演示v-bind标签的使用</title>
    <script src="../../js/vue/vue.js"></script>
</head>
<body>
<div>
    <span id="app" v-bind:title="title">{{ message}}</span>
    <br>
    <span id="app1" :title="title2">{{ message}}</span>
</div>
<script>
    var app = new Vue({
        el: '#app',
        data: {message: "愁死我了", title: "最近都莫钱抽雪茄了", title2: "测试"}
    })
</script>
<script>
    var app = new Vue({
        el: '#app1',
        data: {message: "愁死我了", title2: "测试"}
    })
</script>
</body>
</html>